import { CreateDate, Entity, PrimaryUuid, Openid, Varchar, Remark, DateTime, Link, WxVisitScene } from '@sker/core'
@Entity({ name: 'wx_member_visit_log' })
export class WxMemberVisitLog {
    static title: string = `访问日志`;
    static resource: string = `wx_member_visit_log`;

    @PrimaryUuid({ comment: '编号', primaryKeyConstraintName: "PK_WX_MEMBER_VISIT_LOG" })
    id!: string;

    @Openid()
    openid!: string;

    @Remark({ comment: '备注信息' })
    remark!: string;

    @DateTime({ comment: '访问时间' })
    visit_time!: Date;

    @Link({ comment: '页面' })
    visit_page!: string;

    @WxVisitScene({ comment: '场景' })
    visit_scene!: string;

    @CreateDate({
        comment: '创建日期'
    })
    create_date!: Date;
}